    <include file="Index/Common/header" title="ThinkPHP框架" keywords="开源WEB开发框架"/>
    <include file="Index/Common/size-nav"/>
    <div id="main">
      <div class="content_wrapper">
          <div class="container-fluid">
              <div class="row">
                  <div class="col-sm-12">
                      <aside>
                          <header><i class="fa fa-fw fa-file"></i>系统设置</header>
                          <section>
                              <div class="container-fluid">
                                  <div class="row">
                                      <div class="col-sm-12">
                                          <form class="form-horizontal" role="form" id="add-form">
                                              <div class="form-group">
                                                  <label class="col-sm-2 control-label">网站名称</label>
                                                  <div class="col-sm-3">
                                                      <input type="text" class="form-control" value="{$conf.web_title}" placeholder="网站名称" name="web_title">
                                                  </div>
                                                  <p class="col-sm-7 help-block">必填</p>
                                              </div>
                                              <hr/>
                                              <div class="form-group">
                                                  <label class="col-sm-2 control-label">网站关键词</label>
                                                  <div class="col-sm-3">
                                                      <input type="text" class="form-control" value="{$conf.web_keyword}" placeholder="关键词" name="web_keyword">
                                                  </div>
                                                  <p class="col-sm-7 help-block">必填</p>
                                              </div>
                                              <hr/>
                                              <div class="form-group">
                                                  <label class="col-sm-2 control-label">网站描述</label>
                                                  <div class="col-sm-3">
                                                      <input type="text" class="form-control" value="{$conf.web_desc}" placeholder="网站描述" name="web_desc">
                                                  </div>
                                                  <p class="col-sm-7 help-block">必填</p>
                                              </div>
                                              <hr/>
                                              <div class="form-group">
                                                  <label class="col-sm-2 control-label">版权信息</label>
                                                  <div class="col-sm-3">
                                                      <input type="text" class="form-control" value="{$conf.copyright}" placeholder="版权信息" name="copyright">
                                                  </div>
                                                  <p class="col-sm-7 help-block" id="copyright">Copyright © 2017 feiyanger</p>

                                              </div>
                                              <hr/>
                                              <div class="form-group">
                                                  <label class="col-sm-2 control-label">图片储存方式</label>
                                                  <div class="col-sm-3">
                                                      <select class="form-control" name="saveway">
                                                          <option value="0"<if condition="$conf.saveway eq 0">selected</if>>本地</option>
                                                          <option value="1"<if condition="$conf.saveway eq 1">selected</if>>七牛云</option>
                                                      </select>
                                                  </div>
                                                  <p class="col-sm-7 help-block">选择七牛云请填写配置</p>
                                              </div>
                                              <div class="form-group">
                                                  <div class=" col-sm-12">
                                                      <button type="button" class="btn btn-primary btn-add" id="btn-add-submit">提交</button>
                                                  </div>
                                              </div>
                                          </form>
                                      </div>
                                  </div>
                              </div>
                          </section>
                      </aside>
                  </div>
              </div>
          </div>
      </div>
    </div>
    <include file="Index/Common/footer"/>
    <script src="__JQUERY__" charset="utf-8"></script>
    <script type="text/javascript">
      var URL = {
        'add_url':"{:U('Admin/SysConfig/index')}",
        'jump_url':"{:U('Admin/SysConfig/index')}",
      }
    </script>
    <script type="text/javascript">
      $('form input[name=copyright]').on('focusout',function(){
        var copyright = $(this).val();
        $('#copyright').html('Copyright © 2017 by '+copyright);
      })
    </script>
</body>
</html>
